﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnLogoutHandle(LogoutEventArgs e);

    [Guid("fccbca56-9ff5-42d8-8bd7-e8156977f8b4")]
    public interface ILogoutEventArgs
    {
        string TradingAccount { get; set; }
        ReturnInfo ReturnInfo { get; set; }
        int RequestID { get; set; }
    }

    [Guid("756485af-d413-4630-832c-65b6ff66be99")]
    [ClassInterface(ClassInterfaceType.None)]
    public class LogoutEventArgs : EventArgs, ILogoutEventArgs
    {
        public string TradingAccount { get; set; }
        public ReturnInfo ReturnInfo { get; set; }
        public int RequestID { get; set; }
    }

}
